#include "gsyncer.h"
#include "login_win.h"
#include "reg_win.h"
#include "sync_win.h"
#include "watcher.h"
#include <QApplication>
#include <QMainWindow>
#include <QtGui>

Gsyncer::Gsyncer(int argc, char** argv)
{
    app = new QApplication(argc,argv);
    watcher = new Watcher(update);

    login_win = new Login_win(watcher,update);
}

int Gsyncer::run()
{
    login_win->show();
    return app->exec();
}
